<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
CasUtil (uimaFIT 1.3.0 API)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="CasUtil (uimaFIT 1.3.0 API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CasUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../org/uimafit/util/ContainmentIndex.html" title="class in org.uimafit.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?org/uimafit/util/CasUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CasUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.uimafit.util</FONT>
<BR>
Class CasUtil</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.uimafit.util.CasUtil</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.55"><B>CasUtil</B></A><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>

<P>
Utility methods for convenient access to the <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas"><CODE>CAS</CODE></A>.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Richard Eckart de Castilho, Niklas Jakob</DD>
</DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#UIMA_BUILTIN_JCAS_PREFIX">UIMA_BUILTIN_JCAS_PREFIX</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Package name of JCas wrapper classes built into UIMA.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#CasUtil()">CasUtil</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#getAnnotationType(org.apache.uima.cas.CAS, java.lang.Class)">getAnnotationType</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                   <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the CAS type for the given JCas wrapper class making sure it is or inherits from
 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas"><CODE>Annotation</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#getAnnotationType(org.apache.uima.cas.CAS, java.lang.String)">getAnnotationType</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                   <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;typeName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the CAS type for the given name making sure it is or inherits from Annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#getType(org.apache.uima.cas.CAS, java.lang.Class)">getType</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
               <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the CAS type for the given JCas wrapper class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#getType(org.apache.uima.cas.CAS, java.lang.String)">getType</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
               <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;typeName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the CAS type for the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#getView(org.apache.uima.cas.CAS, java.lang.String, boolean)">getView</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
               <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;viewName,
               boolean&nbsp;create)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to get the specified view or create a new view if the requested view does
 not exist.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#getView(org.apache.uima.cas.CAS, java.lang.String, org.apache.uima.cas.CAS)">getView</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
               <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;viewName,
               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;fallback)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to get the specified view or a default view if the requested view does not
 exist.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#indexCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.Type)">indexCovered</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                         <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                         <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;coveredType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an index for quickly lookup up the annotations covered by a particular annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#indexCovering(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.Type)">indexCovering</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;coveringType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an index for quickly lookup up the annotations covering a particular annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#iterate(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">iterate</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../org/uimafit/util/CasUtil.html#select(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)"><CODE>select(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#iterateFS(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">iterateFS</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                   <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../org/uimafit/util/CasUtil.html#selectFS(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)"><CODE>selectFS(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; 
<BR>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#iterator(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">iterator</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an iterator over the given annotation type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt; 
<BR>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#iteratorFS(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">iteratorFS</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                     <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an iterator over the given feature structures type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#select(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)">select</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</A>&nbsp;array,
             <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to iterator over all annotations of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#select(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">select</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
             <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to iterator over all annotations of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectBetween(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS, org.apache.uima.cas.text.AnnotationFS)">selectBetween</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann1,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of annotations of the given annotation type located between two annotations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectBetween(org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS, org.apache.uima.cas.text.AnnotationFS)">selectBetween</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann1,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of annotations of the given annotation type located between two annotations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectByIndex(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int)">selectByIndex</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exists simply as a convenience method for unit testing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS)">selectCovered</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;coveringAnnotation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of annotations of the given annotation type constraint by a certain annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int, int)">selectCovered</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           int&nbsp;begin,
                           int&nbsp;end)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of annotations of the given annotation type constraint by a certain annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectCovered(org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS)">selectCovered</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                           <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;coveringAnnotation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of annotations of the given annotation type constraint by a certain annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectCovering(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int, int)">selectCovering</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                             <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                             int&nbsp;begin,
                             int&nbsp;end)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of annotations of the given annotation type constraint by a certain annotation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectFollowing(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.jcas.tcas.Annotation, int)">selectFollowing</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas">Annotation</A>&nbsp;annotation,
                               int&nbsp;count)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the n annotations following the given annotation</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectFS(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)">selectFS</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</A>&nbsp;array,
                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to iterator over all feature structures of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectFS(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">selectFS</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to iterator over all feature structures of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectFSByIndex(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int)">selectFSByIndex</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                               int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exists simply as a convenience method for unit testing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectPreceding(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.jcas.tcas.Annotation, int)">selectPreceding</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas">Annotation</A>&nbsp;annotation,
                               int&nbsp;count)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the n annotations preceding the given annotation</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#selectSingle(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)">selectSingle</A></B>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                         <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the single instance of the specified type from the JCas.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; 
<BR>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#toText(java.lang.Iterable)">toText</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;T&gt;&nbsp;iterable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetch the text covered by the specified annotations and return it as a list of strings.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; 
<BR>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/uimafit/util/CasUtil.html#toText(java.util.Iterator)">toText</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt;&nbsp;iterator)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetch the text covered by the specified annotations and return it as a list of strings.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="UIMA_BUILTIN_JCAS_PREFIX"><!-- --></A><H3>
UIMA_BUILTIN_JCAS_PREFIX</H3>
<PRE>
public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.59"><B>UIMA_BUILTIN_JCAS_PREFIX</B></A></PRE>
<DL>
<DD>Package name of JCas wrapper classes built into UIMA.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.uimafit.util.CasUtil.UIMA_BUILTIN_JCAS_PREFIX">Constant Field Values</A></DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="CasUtil()"><!-- --></A><H3>
CasUtil</H3>
<PRE>
public <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.55"><B>CasUtil</B></A>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="iterateFS(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
iterateFS</H3>
<PRE>
<FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
</FONT>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.73"><B>iterateFS</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                              <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../org/uimafit/util/CasUtil.html#selectFS(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)"><CODE>selectFS(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)</CODE></A></I>
<P>
<DD>Convenience method to iterator over all feature structures of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - the type.
<DT><B>Returns:</B><DD>An iterable.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FSIndex.html?is-external=true#iterator()" title="class or interface in org.apache.uima.cas"><CODE>FSIndex.iterator()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="iterate(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
iterate</H3>
<PRE>
<FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
</FONT>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.89"><B>iterate</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                        <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../org/uimafit/util/CasUtil.html#select(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)"><CODE>select(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)</CODE></A></I>
<P>
<DD>Convenience method to iterator over all annotations of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - the type.
<DT><B>Returns:</B><DD>An iterable.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FSIndex.html?is-external=true#iterator()" title="class or interface in org.apache.uima.cas"><CODE>FSIndex.iterator()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="iteratorFS(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
iteratorFS</H3>
<PRE>
public static &lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt; <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.105"><B>iteratorFS</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                                  <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Get an iterator over the given feature structures type.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the JCas type.<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a type.
<DT><B>Returns:</B><DD>a return value.</DL>
</DD>
</DL>
<HR>

<A NAME="iterator(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
iterator</H3>
<PRE>
public static &lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.121"><B>iterator</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                            <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Get an iterator over the given annotation type.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the JCas type.<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a type.
<DT><B>Returns:</B><DD>a return value.</DL>
</DD>
</DL>
<HR>

<A NAME="getType(org.apache.uima.cas.CAS, java.lang.Class)"><!-- --></A><H3>
getType</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.134"><B>getType</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;type)</PRE>
<DL>
<DD>Get the CAS type for the given JCas wrapper class.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - the CAS hosting the type system.<DD><CODE>type</CODE> - the JCas wrapper class.
<DT><B>Returns:</B><DD>the CAS type.</DL>
</DD>
</DL>
<HR>

<A NAME="getType(org.apache.uima.cas.CAS, java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.147"><B>getType</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                           <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;typeName)</PRE>
<DL>
<DD>Get the CAS type for the given name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - the CAS hosting the type system.<DD><CODE>typeName</CODE> - the fully qualified type name.
<DT><B>Returns:</B><DD>the CAS type.</DL>
</DD>
</DL>
<HR>

<A NAME="getAnnotationType(org.apache.uima.cas.CAS, java.lang.Class)"><!-- --></A><H3>
getAnnotationType</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.168"><B>getAnnotationType</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                     <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;type)</PRE>
<DL>
<DD>Get the CAS type for the given JCas wrapper class making sure it is or inherits from
 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas"><CODE>Annotation</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - the CAS hosting the type system.<DD><CODE>type</CODE> - the JCas wrapper class.
<DT><B>Returns:</B><DD>the CAS type.</DL>
</DD>
</DL>
<HR>

<A NAME="getAnnotationType(org.apache.uima.cas.CAS, java.lang.String)"><!-- --></A><H3>
getAnnotationType</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.186"><B>getAnnotationType</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                     <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;typeName)</PRE>
<DL>
<DD>Get the CAS type for the given name making sure it is or inherits from Annotation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - the CAS hosting the type system.<DD><CODE>typeName</CODE> - the fully qualified type name.
<DT><B>Returns:</B><DD>the CAS type.</DL>
</DD>
</DL>
<HR>

<A NAME="selectFS(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)"><!-- --></A><H3>
selectFS</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.203"><B>selectFS</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</A>&nbsp;array,
                                                    <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Convenience method to iterator over all feature structures of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - features structure array.<DD><CODE>type</CODE> - the type.
<DT><B>Returns:</B><DD>A collection of the selected type.</DL>
</DD>
</DL>
<HR>

<A NAME="select(org.apache.uima.cas.ArrayFS, org.apache.uima.cas.Type)"><!-- --></A><H3>
select</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.217"><B>select</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/ArrayFS.html?is-external=true" title="class or interface in org.apache.uima.cas">ArrayFS</A>&nbsp;array,
                                              <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Convenience method to iterator over all annotations of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - features structure array.<DD><CODE>type</CODE> - the type.
<DT><B>Returns:</B><DD>A collection of the selected type.</DL>
</DD>
</DL>
<HR>

<A NAME="selectFS(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
selectFS</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.235"><B>selectFS</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                    <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Convenience method to iterator over all feature structures of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - the CAS containing the type system.<DD><CODE>type</CODE> - the type.
<DT><B>Returns:</B><DD>A collection of the selected type.</DL>
</DD>
</DL>
<HR>

<A NAME="select(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
select</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.249"><B>select</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                              <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Convenience method to iterator over all annotations of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - the CAS containing the type system.<DD><CODE>type</CODE> - the type.
<DT><B>Returns:</B><DD>A collection of the selected type.</DL>
</DD>
</DL>
<HR>

<A NAME="selectBetween(org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS, org.apache.uima.cas.text.AnnotationFS)"><!-- --></A><H3>
selectBetween</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.275"><B>selectBetween</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann1,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann2)</PRE>
<DL>
<DD>Get a list of annotations of the given annotation type located between two annotations.
 Does not use subiterators and does not respect type priorities. Zero-width annotations
 what lie on the borders are included in the result, e.g. if the boundary annotations are
 [1..2] and [2..3] then an annotation [2..2] is returned. If there is a non-zero overlap
 between the boundary annotations, the result is empty. The method properly handles cases
 where the second boundary annotations occurs before the first boundary annotation by
 switching their roles.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - a UIMA type.<DD><CODE>ann1</CODE> - the first boundary annotation.<DD><CODE>ann2</CODE> - the second boundary annotation.
<DT><B>Returns:</B><DD>a return value.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="selectBetween(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS, org.apache.uima.cas.text.AnnotationFS)"><!-- --></A><H3>
selectBetween</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.300"><B>selectBetween</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann1,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;ann2)</PRE>
<DL>
<DD>Get a list of annotations of the given annotation type located between two annotations.
 Does not use subiterators and does not respect type priorities. Zero-width annotations
 what lie on the borders are included in the result, e.g. if the boundary annotations are
 [1..2] and [2..3] then an annotation [2..2] is returned. If there is a non-zero overlap
 between the boundary annotations, the result is empty. The method properly handles cases
 where the second boundary annotations occurs before the first boundary annotation by
 switching their roles.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>ann1</CODE> - the first boundary annotation.<DD><CODE>ann2</CODE> - the second boundary annotation.
<DT><B>Returns:</B><DD>a return value.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="selectCovered(org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS)"><!-- --></A><H3>
selectCovered</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.392"><B>selectCovered</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;coveringAnnotation)</PRE>
<DL>
<DD>Get a list of annotations of the given annotation type constraint by a certain annotation.
 Iterates over all annotations of the given type to find the covered annotations. Does not use
 subiterators and does not respect type prioritites. Was adapted from <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A>.
 Uses the same approach except that type priorities are ignored.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - a UIMA type.<DD><CODE>coveringAnnotation</CODE> - the covering annotation.
<DT><B>Returns:</B><DD>a return value.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="selectCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS)"><!-- --></A><H3>
selectCovered</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.411"><B>selectCovered</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&nbsp;coveringAnnotation)</PRE>
<DL>
<DD>Get a list of annotations of the given annotation type constraint by a certain annotation.
 Iterates over all annotations of the given type to find the covered annotations. Does not use
 subiterators and does not respect type prioritites. Was adapted from <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A>.
 Uses the same approach except that type priorities are ignored.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>coveringAnnotation</CODE> - the covering annotation.
<DT><B>Returns:</B><DD>a return value.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="selectCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int, int)"><!-- --></A><H3>
selectCovered</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.501"><B>selectCovered</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                               int&nbsp;begin,
                                               int&nbsp;end)</PRE>
<DL>
<DD>Get a list of annotations of the given annotation type constraint by a certain annotation.
 Iterates over all annotations of the given type to find the covered annotations. Does not use
 subiterators and does not respect type prioritites. Was adapted from <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A>.
 Uses the same approach except that type priorities are ignored.
 <p>
 <b>Note:</b> this is significantly slower than using
 <A HREF="../../../org/uimafit/util/CasUtil.html#selectCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.text.AnnotationFS)"><CODE>selectCovered(CAS, Type, AnnotationFS)</CODE></A>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>begin</CODE> - begin offset.<DD><CODE>end</CODE> - end offset.
<DT><B>Returns:</B><DD>a return value.<DT><B>See Also:</B><DD><A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/impl/Subiterator.html?is-external=true" title="class or interface in org.apache.uima.cas.impl"><CODE>Subiterator</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="selectCovering(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int, int)"><!-- --></A><H3>
selectCovering</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.552"><B>selectCovering</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                                int&nbsp;begin,
                                                int&nbsp;end)</PRE>
<DL>
<DD>Get a list of annotations of the given annotation type constraint by a certain annotation.
 Iterates over all annotations to find the covering annotations.

 <p>
 <b>Note:</b> this is <b>REALLY SLOW!</b> You don't want to use this.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>begin</CODE> - begin offset.<DD><CODE>end</CODE> - end offset.
<DT><B>Returns:</B><DD>a return value.</DL>
</DD>
</DL>
<HR>

<A NAME="indexCovering(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.Type)"><!-- --></A><H3>
indexCovering</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.582"><B>indexCovering</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                                       <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                                                       <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;coveringType)</PRE>
<DL>
<DD>Create an index for quickly lookup up the annotations covering a particular annotation. This
 is preferable to using <A HREF="../../../org/uimafit/util/CasUtil.html#selectCovering(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int, int)"><CODE>selectCovering(CAS, Type, int, int)</CODE></A> because the overhead of
 scanning the CAS occurs only when the index is build. Subsequent lookups to the index are
 fast.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - type to create the index for - this is used in lookups.<DD><CODE>coveringType</CODE> - type of covering annotations.
<DT><B>Returns:</B><DD>the index.</DL>
</DD>
</DL>
<HR>

<A NAME="indexCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.cas.Type)"><!-- --></A><H3>
indexCovered</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt;&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.625"><B>indexCovered</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                                      <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                                                      <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;coveredType)</PRE>
<DL>
<DD>Create an index for quickly lookup up the annotations covered by a particular annotation. This
 is preferable to using <A HREF="../../../org/uimafit/util/CasUtil.html#selectCovered(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int, int)"><CODE>selectCovered(CAS, Type, int, int)</CODE></A> because the overhead of
 scanning the CAS occurs only when the index is build. Subsequent lookups to the index are
 fast.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - type to create the index for - this is used in lookups.<DD><CODE>coveredType</CODE> - type of covering annotations.
<DT><B>Returns:</B><DD>the index.</DL>
</DD>
</DL>
<HR>

<A NAME="selectFSByIndex(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int)"><!-- --></A><H3>
selectFSByIndex</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.666"><B>selectFSByIndex</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                               <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                               int&nbsp;index)</PRE>
<DL>
<DD>This method exists simply as a convenience method for unit testing. It is not very efficient
 and should not, in general be used outside the context of unit testing.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS containing the feature structure.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>index</CODE> - this can be either positive (0 corresponds to the first annotation of a type) or
            negative (-1 corresponds to the last annotation of a type.)
<DT><B>Returns:</B><DD>an annotation of the given type</DL>
</DD>
</DL>
<HR>

<A NAME="selectByIndex(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, int)"><!-- --></A><H3>
selectByIndex</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.700"><B>selectByIndex</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                         <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                         int&nbsp;index)</PRE>
<DL>
<DD>This method exists simply as a convenience method for unit testing. It is not very efficient
 and should not, in general be used outside the context of unit testing.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS containing the annotation.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>index</CODE> - this can be either positive (0 corresponds to the first annotation of a type) or
            negative (-1 corresponds to the last annotation of a type.)
<DT><B>Returns:</B><DD>an annotation of the given type</DL>
</DD>
</DL>
<HR>

<A NAME="selectSingle(org.apache.uima.cas.CAS, org.apache.uima.cas.Type)"><!-- --></A><H3>
selectSingle</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/FeatureStructure.html?is-external=true" title="class or interface in org.apache.uima.cas">FeatureStructure</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.735"><B>selectSingle</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                            <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Get the single instance of the specified type from the JCas.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a JCas containing the annotation.<DD><CODE>type</CODE> - a UIMA type.
<DT><B>Returns:</B><DD>the single instance of the given type. throws IllegalArgumentException if not exactly
         one instance if the given type is present.</DL>
</DD>
</DL>
<HR>

<A NAME="selectPreceding(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.jcas.tcas.Annotation, int)"><!-- --></A><H3>
selectPreceding</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.765"><B>selectPreceding</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas">Annotation</A>&nbsp;annotation,
                                                 int&nbsp;count)</PRE>
<DL>
<DD>Returns the n annotations preceding the given annotation
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>annotation</CODE> - anchor annotation<DD><CODE>count</CODE> - number of annotations to collect
<DT><B>Returns:</B><DD>List of aType annotations preceding anchor annotation</DL>
</DD>
</DL>
<HR>

<A NAME="selectFollowing(org.apache.uima.cas.CAS, org.apache.uima.cas.Type, org.apache.uima.jcas.tcas.Annotation, int)"><!-- --></A><H3>
selectFollowing</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.805"><B>selectFollowing</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                                                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/Type.html?is-external=true" title="class or interface in org.apache.uima.cas">Type</A>&nbsp;type,
                                                 <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/jcas/tcas/Annotation.html?is-external=true" title="class or interface in org.apache.uima.jcas.tcas">Annotation</A>&nbsp;annotation,
                                                 int&nbsp;count)</PRE>
<DL>
<DD>Returns the n annotations following the given annotation
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS.<DD><CODE>type</CODE> - a UIMA type.<DD><CODE>annotation</CODE> - anchor annotation<DD><CODE>count</CODE> - number of annotations to collect
<DT><B>Returns:</B><DD>List of aType annotations following anchor annotation</DL>
</DD>
</DL>
<HR>

<A NAME="getView(org.apache.uima.cas.CAS, java.lang.String, org.apache.uima.cas.CAS)"><!-- --></A><H3>
getView</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.841"><B>getView</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                          <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;viewName,
                          <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;fallback)</PRE>
<DL>
<DD>Convenience method to get the specified view or a default view if the requested view does not
 exist. The default can also be <code>null</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS<DD><CODE>viewName</CODE> - the requested view.<DD><CODE>fallback</CODE> - the default view if the requested view does not exist.
<DT><B>Returns:</B><DD>the requested view or the default if the requested view does not exist.</DL>
</DD>
</DL>
<HR>

<A NAME="getView(org.apache.uima.cas.CAS, java.lang.String, boolean)"><!-- --></A><H3>
getView</H3>
<PRE>
public static <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A> <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.867"><B>getView</B></A>(<A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/CAS.html?is-external=true" title="class or interface in org.apache.uima.cas">CAS</A>&nbsp;cas,
                          <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;viewName,
                          boolean&nbsp;create)</PRE>
<DL>
<DD>Convenience method to get the specified view or create a new view if the requested view does
 not exist.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cas</CODE> - a CAS<DD><CODE>viewName</CODE> - the requested view.<DD><CODE>create</CODE> - the view is created if it does not exist.
<DT><B>Returns:</B><DD>the requested view
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the view does not exist and is not to be created.</DL>
</DD>
</DL>
<HR>

<A NAME="toText(java.lang.Iterable)"><!-- --></A><H3>
toText</H3>
<PRE>
public static &lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.896"><B>toText</B></A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;T&gt;&nbsp;iterable)</PRE>
<DL>
<DD>Fetch the text covered by the specified annotations and return it as a list of strings.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - UIMA JCas type.<DT><B>Parameters:</B><DD><CODE>iterable</CODE> - annotation container.
<DT><B>Returns:</B><DD>list of covered strings.</DL>
</DD>
</DL>
<HR>

<A NAME="toText(java.util.Iterator)"><!-- --></A><H3>
toText</H3>
<PRE>
public static &lt;T extends <A HREF="http://uima.apache.org/d/uimaj-2.3.1/api/org/apache/uima/cas/text/AnnotationFS.html?is-external=true" title="class or interface in org.apache.uima.cas.text">AnnotationFS</A>&gt; <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt; <A HREF="../../../src-html/org/uimafit/util/CasUtil.html#line.909"><B>toText</B></A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt;&nbsp;iterator)</PRE>
<DL>
<DD>Fetch the text covered by the specified annotations and return it as a list of strings.
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - UIMA JCas type.<DT><B>Parameters:</B><DD><CODE>iterator</CODE> - annotation iterator.
<DT><B>Returns:</B><DD>list of covered strings.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CasUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../org/uimafit/util/ContainmentIndex.html" title="class in org.uimafit.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?org/uimafit/util/CasUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CasUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#169; 2012. All Rights Reserved.
</BODY>
</HTML>
